package com.jiawa.train.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.common.resp.PageResp;
import com.jiawa.train.member.domain.po.Passenger;
import com.jiawa.train.member.req.PassengerQueryReq;
import com.jiawa.train.member.req.PassengerSaveReq;
import com.jiawa.train.member.resp.PassengerQueryResp;

import java.util.List;

/**
 * <p>
 * 乘车人 服务类
 * </p>
 *
 * @author hrz
 * @since 2025-09-06
 */
public interface IPassengerService extends IService<Passenger> {

    void save(PassengerSaveReq passengerSaveReq);

    PageResp<PassengerQueryResp> queryList(PassengerQueryReq req);

    void delete(Long id);

    List<PassengerQueryResp> queryMine();
}
